#include <stdio.h>

int main()
{
	int x = 0;
	int y = 0;
	char ch = 0;
    scanf ("%d %d %c",&x,&y,&ch);
    if(y == 0&&ch == '/') 
    {
    	printf("Divided by zero!");
	}
        
    else if(ch == '+')
    {
    	printf("%d",x+y);
	}
	else if(ch == '-')
	{
		printf("%d",x-y);
	}
	else if(ch == '*')
	{
		printf("%d",x*y);
	}
	else if(y!=0&&ch == '/')
	{
		printf("%d",x/y);
	}
	else
	{
		printf("Invalid operator!");
	}
	
	return 0;
}
